void illum_faces(vector& p,float d_max,vector& c,int shadows)
Parameter | Type | Description |
---|---|---|
p | vector& | light point |
d_max | float | light radius |
c | vector& | light color |
shadows | int | shadow flags: 0 - no shadows 1 - shadow from specific object (flyengine::shadow_obj) 2 - gloabl shadows |
None
This function illuminates the mesh faces light maps. It is used only on meshes with light maps like the static bsp leaf mesh.